package factory;


import interfaces.impl.Agent;


import interfaces.impl.agents.AgentDrawLife;
import interfaces.impl.agents.AgentMove;
import interfaces.impl.agents.AgentNormalMove;

import java.util.ArrayList;



import objects.WorldObject;

public final class AgentFactory {
	
	
	private AgentFactory(){
	
		
	
	}
	
	public static void setAgent(WorldObject obj,int agentId){
		
		switch(agentId){
		case Constants.AGENT_DRAW_LIFE:
			obj.addAgent(new AgentDrawLife());
		break;
		case Constants.AGENT_NORMAL_MOVE:
			obj.addAgent(new AgentNormalMove());
			break;
		
		case Constants.AGENT_MOVE:
			obj.addAgent(new AgentMove());
			break;
		
		
			
		}
	}

}
